package com.group.lyl.send.service.impl;

import com.group.lyl.send.dao.StaffDao;
import com.group.lyl.send.model.Staff;
import com.group.lyl.send.service.StaffService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;


@Service
public class StaffServiceImpl implements StaffService {
    @Autowired
    private StaffDao staffDao;
    @Override
    public List<Staff> findByBirthday(Date date) {
        return staffDao.findByBirthday(date);
    }
}
